package com.example.administrator.xxnapp.http;

/**
 * Created by Went_Gone on 2018/4/24.
 */

public class HttpUrl {

    /**
     * 正式环境
     */
    public static final String BASE_URL_BASE = "http://123.206.78.44";

//    public static final String BASE_URL_BASE = "http://192.168.1.127:8080";

//    private static final String BASE_URL = BASE_URL_BASE+"/xxn";
    private static final String BASE_URL = "http://192.168.1.127:8080"+"/xxn";


    /**
     * 获取相册列表Url
     */
    public static final String GET_PICTURE_URL = BASE_URL+"/image/getImages";

    /**
     * 获取吐槽列表Url
     */
    public static final String GET_TUCAO_URL = BASE_URL+"/tucao/getTucao";

    /**
     * 发送吐槽的Url
     */
    public static final String POST_SEND_TUCAO_URL = BASE_URL+"/tucao/putTuCao";

    public static final String LOAD_TUCAO_IMAGE_URL = BASE_URL+"/tucao/upFile";

    public static final String GET_PRAISE_URL = BASE_URL + "/tucao/praise";

    /**
     * 提交评论
     */
    public static final String POST_COMMENT_URL = BASE_URL + "/tucao/upComment";

    /**
     * 登录
     */
    public static final String POST_SIGN_IN_URL = BASE_URL + "/login";
    public static final String GET_EVENT_URL = BASE_URL + "/event/getEvent";
    public static final String GET_FRIENDS = BASE_URL +"/friend/getFriends";
    public static final String SAVE_EVENT_URL = BASE_URL + "/event/saveEvent";
    public static final String GET_VERSION_URL = BASE_URL + "/version.json";

    public static final String POST_UPDATE_PASSWORD = BASE_URL + "/updatePassword";
    public static final String POST_HEAD_IMAGE = BASE_URL + "/upHeadImage?userId=";
}
